﻿@model KRM.Core.tblKRMDocument
@if (Model != null)
{
<tr>
                <td style="text-align: center">
                    <div class="btn-group">
                        <a href="#" data-toggle="dropdown" class="btn dropdown-toggle"><i class="icon-cog"></i><span class="caret"></span></a>
                        <ul class="dropdown-menu dropdowm-right text-left">
                            <li>
                                <a href="javascript:;" onclick="deletedocument(@Model.DocumentID, @(ViewBag.disputeid??0))" >Delete Document</a>
                            </li>
                            <li>
                                <a href="javascript:;" onclick="editdocument(@Model.DocumentID,@(ViewBag.disputeid??0), 'description')" >Edit Document Description</a>
                            </li>
                            <li>
                                <a href="javascript:;" onclick="editdocument(@Model.DocumentID, @(ViewBag.disputeid??0), 'name')" >Edit Document Name</a>
                            </li>
                        </ul>
                    </div>
                </td>
                <td>@Model.DocumentID</td>
                <td>@Model.Name</td>
                <td>@Model.Description</td>
            </tr>
}
